﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Core.Base;
using ERP.BusinessEntities;

namespace MainApp.Modules.Employee
{
    public class EmployeeEntity: BaseEntity
    {
        //SGVList<ICEmployeeBOMsInfo> lstICEmployeeBOMs = new SGVList<ICEmployeeBOMsInfo>();

        public override void InitModuleObjects()
        {
            AddMainObject("HREmployees", new HREmployeesInfo());
        }

        public override void InitLists()
        {
            //base.InitLists();

            //lstICEmployeeBOMs = new SGVList<ICEmployeeBOMsInfo>();
            //lstICEmployeeBOMs.InitList(this, "ICEmployees", "ICEmployeeBOMs", "FK_ICEmployees_ParentID");

            ////ICEmployeeBOMsInfo b1 = new ICEmployeeBOMsInfo();
            ////b1.Qty = 10;
            //////b1.FK_ICEmployees_ID = 1;
            ////lstICEmployeeBOMs.Add(b1);
            ////ICEmployeeBOMsInfo b2 = new ICEmployeeBOMsInfo();
            ////b2.Qty = 6;
            ////lstICEmployeeBOMs.Add(b2);

            //lstICEmployeeBOMs.Binding("MainScreen", "ICEmployeeBOMsGridView");
        }
    }
}
